package com.zzw.bridge.business.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.zzw.bridge.common.page.Pages;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 大桥项目表
 *
 * @author XiaoJie
 * @email
 * @date 2025-05-19 10:32:20
 */
@Schema(name = "大桥项目表", description = "大桥项目表	")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ZzwPierProjectDTO extends Pages implements Serializable {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private String id;

	@Schema(description = "父级ID")
	@NotNull(message = "父级ID不能为空！！！")
	private String parentId;

	@Schema(description = "账户名称（前端不用传；后端取用户信息）")
	private String accountUsername;

	@Schema(description = "项目名称")
	@NotBlank(message = "项目名称不能为空！！！")
	private String projectName;

	@Schema(description = "项目地址")
	private String projectAddress;

	@Schema(description = "项目状态（0-停止；1-正常）")
	private Integer projectStatus;

	@Schema(description = "项目类型（0-公司；1-项目；2-线路；3-大桥；4-主线）")
	private Integer projectType;

	@Schema(description = "项目投资金额")
	private BigDecimal investmentAmount;

	@Schema(description = "公司编码")
	private String companyCode;

	@Schema(description = "联系人")
	private String contacts;

	@Schema(description = "联系电话")
	private String contactsPhone;

}
